export const tableOption = {
  "border": true,
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  searchMenuSpan: 6,
  searchSize: 'mini',
  "column": [
    {
      "type": "input",
      "label": "主键ID",
      search: true,
      searchSpan: 4,
      addDisplay: false,
      editDisabled: true,
      "prop": "id"
    },
    {
      "type": "input",
      "label": "数据源",
      search: true,
      searchSpan: 6,
      "prop": "name",
      rules: [
        {
          required: true,
          trigger: 'blur'
        }
      ]
    },
    {
      "type": "input",
      "label": "描述",
      "prop": "dataSourceDesc",
      rules: [
        {
          required: true,
          trigger: 'blur'
        }
      ]
    },
    {
      "type": "input",
      "label": "连接URL",
      overHidden: true,
      "prop": "connUrl",
      rules: [
        {
          required: true,
          trigger: 'blur'
        }
      ]
    },
    {
      "type": "select",
      "label": "驱动类名",
      overHidden: true,
      "prop": "driverName",
      align: 'center',rules: [{
        required: true,
        message: '请选择驱动名',
        trigger: 'blur'
      }],
      dicData: [
        {
          label:'com.mysql.jdbc.Driver',
          value:'com.mysql.jdbc.Driver'
        },{
          label:'oracle.jdbc.driver.OracleDriver',
          value:'oracle.jdbc.driver.OracleDriver'
        }
      ]
    },
    {
      "type": "input",
      "label": "用户名",
      "prop": "userName",
      rules: [
        {
          required: true,
          trigger: 'blur'
        }
      ]
    },
    {
      "type": "input",
      "label": "密码",
      "prop": "password",
      rules: [
        {
          required: true,
          trigger: 'blur'
        }
      ]
    },
    {
      "type": "input",
      "label": "创建人ID",
      addDisplay: false,
      hide: true,
      editDisabled: true,
      "prop": "createId"
    },
    {
      "type": "input",
      "label": "创建人",
      "addDisplay": false,
      "editDisabled": true,
      "prop": "createName"
    },
    {
      "type": "input",
      "label": "创建时间",
      addDisplay: false,
      editDisabled: true,
      "prop": "createTime"
    },
    {
      "type": "input",
      "label": "修改人ID",
      hide: true,
      addDisplay: false,
      editDisabled: true,
      "prop": "updateId"
    },
    {
      "type": "input",
      "label": "修改人",
      "addDisplay": false,
      "editDisabled": true,
      "prop": "createName"
    },
    {
      "type": "input",
      "label": "更新时间",
      addDisplay: false,
      editDisabled: true,
      "prop": "updateTime"
    }
  ]
}
